import java.util.Scanner;

public class Job2 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("输入一个正整数");
        int num = sc.nextInt();
        System.out.print(num + "=");
        for (int i = 2; i <= num; i++) {
            if (num % i == 0) {
                num = num / i;
                if (num != 1) {
                    System.out.print(i + "*");
                } else {
                    System.out.print(i);
                    break;
                }
                i--;
            }
        }
    }
}


